package cn.xttc.edu.mapper;

import cn.xttc.edu.entity.CarType;
import cn.xttc.edu.entity.vo.CarTypeVo;
import cn.xttc.edu.entity.vo.RuleVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 杨磊
 * @since 2022-03-09
 */
public interface CarTypeMapper extends BaseMapper<CarType> {
    /**
     * 分页获取所有CarTypeVo
     * @param page page对象
     * @return IPage实现类对象
     */
    IPage<CarTypeVo> pageGetAll(@Param("page") Page<CarTypeVo> page);
}
